﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MudEngine.Parsing.AST
{
	/// <summary>
	/// Main tree node holding the globals, functions and inherited objects
	/// </summary>
    public class CompilationUnit : AstNode
    {
		/// <summary>
		/// Visitor pattern
		/// </summary>
		/// <typeparam name="C"></typeparam>
		/// <param name="visitor"></param>
		/// <param name="ctx"></param>
        public override void AcceptVisitor<C>(IAstNodeVisitor<C> visitor, C ctx)
        {
            visitor.VisitCompilationUnit(this, ctx);
        }
    }
}
